package com.geek.water.vo;

import com.geek.water.entity.Bill;
import com.geek.water.entity.BillDetail;
import com.geek.water.entity.Customer;
import com.geek.water.entity.Device;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "账单详情VO")
public class BillDetailVO extends Bill {

    @ApiModelProperty("客户信息")
    private Customer customer;

    @ApiModelProperty("账单明细列表")
    private List<BillDetail> billDetails;

    @ApiModelProperty("关联设备列表")
    private List<Device> devices;

    @ApiModelProperty("总用水量(吨)")
    private BigDecimal totalUsageAmount;

    @ApiModelProperty("账单状态中文描述")
    private String statusText;

    @ApiModelProperty("开票状态中文描述")
    private String invoicedText;
}
